/*---------- overlayfs.h ----------*/
#pragma once
#include "vfs.h"

// OverlayFS特定结构
typedef struct {
    vfs_filesystem_t* upper;
    vfs_filesystem_t* lower;
    uint8_t*          write_log;  // 修改日志
} overlayfs_private_t;

// OverlayFS操作接口
extern vfs_filesystem_t overlay_fs;
int overlay_init(vfs_filesystem_t* fs);